﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TabPages.ascx.cs" Inherits="DutyWeb.UserControls.TabPages" %>
<style type="text/css">
    .html
    {
        background-color: silver;
        font: 14px Georgia Serif;
    }
    .tabs a
    {
        color: blue;
        text-decoration: none;
        font: 14px Arial,Sans-Serif;
    }
    .tab
    {
        background-color: ThreeDFace;
        padding: 5px;
        border: solid 1px black;
        border-bottom: none;
    }
    .views
    {
        background-color: #fffff0;
        width: 400px;
        border: solid 1px black;
        border-top: none;
        padding: 10px;
    }
    .SelectedTab
    {
        background-color: Silver;
        padding: 5px;
        border: Solid 1px black;
        border-bottom: none;
    }
</style>
<asp:DataList runat="server" ID="DataList1" RepeatDirection="Horizontal" ItemStyle-CssClass="tab"
    SelectedItemStyle-CssClass="SelectedTab" OnSelectedIndexChanged="SelectedIndexChanged"
    CssClass="tabs">
    <ItemTemplate>
        <asp:LinkButton runat="server" ID="LinkButton1" CommandName="Select"><%#Container.DataItem %></asp:LinkButton>
    </ItemTemplate>
</asp:DataList>